// 测试 var 关键字声明变量

// 若要访问后续用 let 声明的变量，则会抛出 ReferenceError
console.log(second); // ReferenceError: Cannot access 'second' before initialization

let first = 100;
console.log(first);

let second = 200;
console.log(second);